package com.example.gulimall.search;

import com.example.common.constant.BeanScanConstant;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

@EnableRedisHttpSession
@EnableFeignClients
@SpringBootApplication(scanBasePackages = {
        BeanScanConstant.ES_PATH,
        BeanScanConstant.COMMON_PATH,
        BeanScanConstant.SEARCH_SELF,
        BeanScanConstant.PRODUCT_SELF,
})
public class GulimallSearchApplication {

    public static void main(String[] args) {
        SpringApplication.run(GulimallSearchApplication.class, args);
    }

}
